package cn.ejiaer;


import io.netty.handler.codec.http.HttpHeaderNames;

import static sardine.Sardine.get;
import static sardine.Sardine.port;

/**
 * @author bruce
 */
public class Boot {
    public static void main(String[] args) {
        port(9527);

        get("/", (request, response) -> {
            response.header(HttpHeaderNames.CONTENT_TYPE, "text/html; charset=utf-8");
            return "深圳一加二科技有限公司";
        });
    }
}
